package com.ruoyi.basedata.service;

import java.util.List;
import com.ruoyi.basedata.domain.UserTerminalsxbJoin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basedata.domain.vo.UserTerminalsxbJoinBo;

/**
 * 用户配置Service接口
 *
 * @author gdqt
 * @date 2025-07-09
 */
public interface IUserTerminalsxbJoinService extends IService<UserTerminalsxbJoin>
{
    /**
     * 查询用户配置
     *
     * @param id 用户配置主键
     * @return 用户配置
     */
    public UserTerminalsxbJoin selectUserTerminalsxbJoinById(Long id);

    /**
     * 查询用户配置列表
     *
     * @param userTerminalsxbJoin 用户配置
     * @return 用户配置集合
     */
    public List<UserTerminalsxbJoin> selectUserTerminalsxbJoinList(UserTerminalsxbJoin userTerminalsxbJoin);
    public List<UserTerminalsxbJoinBo> selectUserTerminalsxbJoinListMore(UserTerminalsxbJoin userTerminalsxbJoin);

    /**
     * 新增用户配置
     *
     * @param userTerminalsxbJoin 用户配置
     * @return 结果
     */
    public int insertUserTerminalsxbJoin(UserTerminalsxbJoin userTerminalsxbJoin);


    public int cloneUserTerminalsxbJoin(String oldUserId, String newUserId);

    /**
     * 修改用户配置
     *
     * @param userTerminalsxbJoin 用户配置
     * @return 结果
     */
    public int updateUserTerminalsxbJoin(UserTerminalsxbJoin userTerminalsxbJoin);

    /**
     * 批量删除用户配置
     *
     * @param ids 需要删除的用户配置主键集合
     * @return 结果
     */
    public int deleteUserTerminalsxbJoinByIds(Long[] ids);

    void deleteUserTerminalsxbJoinByUser(String userId);

    /**
     * 删除用户配置信息
     *
     * @param id 用户配置主键
     * @return 结果
     */
    public int deleteUserTerminalsxbJoinById(Long id);
}
